<?php $this->headTitle('Accueil') ?>
<h2>Bienvenue aux établissements Leclercq</h2>

<p><strong>A toi de voir ce que tu veux mettre comme texte, je l'adapterai</strong></p>

<div class="container" style="padding-top: 60px">
    <h1>coucou</h1>
    <?php if ($this->carouselPictures) : ?>
    <div class="span9">
        <div id="theCarousel" class="carousel slide">
            <div class="carousel-inner">
                <?php foreach($this->carouselPictures as $key => $picture):  ?>
                    <div class="item<?php echo ($key == 0) ? ' active' : ''?>">
                        <img alt="" src="images/carousels/store/<?php echo $picture['id'] ?>.jpg" />
                        <div class="carousel-caption">
                            <p><?php echo $this->escape($picture['item_text']) ?></p>
                        </div>
                    </div>
                <?php endforeach ?>
            </div>
            <a class="carousel-control left" data-slide="prev" href="#theCarousel">‹</a>
            <a class="carousel-control right" data-slide="next" href="#theCarousel">›</a>
        </div>
    </div>
    <?php endif ?>
</div>

<script>
$(function (){
        $('.carousel').carousel();
});
</script>